﻿body, html {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

.bg-image {
  /* The image used */
  background-image: url("image/bg.jpeg");
  
  /* Add the blur effect */
  filter: blur(3px);
  -webkit-filter: blur(3px);
  
  /* Full height */
  height: 93%; 
  
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* Position text in the left of the page/image showing Timespartner*/
.bg-tptext {
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
  color: white;
  font-weight: bold;
  border: 2px solid #f1f1f1;
  position: absolute;
  top: 95%;
  left: 84%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 30%;
  padding: 2px;
  text-align: left;
}

/* Position text in the middle of the page/image */
.bg-text {
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
  color: white;
  font-weight: bold;
  border: 3px solid #f1f1f1;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 77%;
  padding: 20px;
  text-align: center;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}
.bodybg
{
  background-color:#cccccc;
}

.navbar {
  overflow: hidden;
  background-color: #4B0082;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color:  #E6E6FA;
  color:black;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #E6E6FA;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #4B0082;
  color:white;
  
}

.dropdown:hover .dropdown-content {
  display: block;
}

.search_categories{
  font-size: 18px;
  padding: 10px 8px 10px 14px;
  background: #9999ff;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
   color:black;
}
.search_categoriessq{
  font-size: 14px;
  padding: 10px 8px 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  color:white;
}
.search_categoriessqan{
  background-color:#000;
  font-size: 14px;
  padding: 10px 8px 10px 14px;
  border: 3px solid #ffb400;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  color:white;
}
.search_categoriessqsv{
  background-color:#000;
  font-size: 14px;
  padding: 10px 8px 10px 14px;
  border: 3px solid #2877aa;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  color:white;
}
.search_categoriessqfd{
  background-color:#000;
  font-size: 14px;
  padding: 10px 8px 10px 14px;
  border: 3px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  color:white;
}
.search_categoriessqbk{
  background-color:#000;
  font-size: 16px;
  padding: 10px 8px 10px 14px;
  border: 3px solid #9999ff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  color:white;
}

	.search_categoriessqbk:hover,.search_categoriessqan:hover,.search_categoriessqfd:hover,.search_categoriessqsv:hover
	{
		background-color: #9999ff;
		color:black;
		font-style:italic;
	}

body {font-family: Arial, Helvetica, sans-serif;}
* {box-sizing: border-box;}

/* Full-width input fields */
input[type=text],input[type=password],input[type=number],input[type=date],input[type=file],input[type=email] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  display: inline-block;
  border: none;
  background-color: #ccccff;
}

/* Add a background color when the inputs get focus */
input[type=text]:focus,input[type=password]:focus,input[type=number]:focus,input[type=date]:focus,input[type=email]:focus {
  background-color: #ddd;
  outline: none;
}


/* Set a style for all buttons */
button {
  background-color: #6d736d;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

button:hover {
  opacity:1;
}

/* Extra styles for the cancel button */
.cancelbtn {
  padding: 14px 20px;
  background-color: #f66055;
  text-align:center;
}
/* Extra styles for the cancel button */
.signupbtn {
  padding: 14px 20px;
  text-align:center;
  background-color: #5fb962;
}


/* Float cancel and signup buttons and add an equal width */
 .signupbtn, .searchbtn{
  float: left;
  width: 25%;
}
 .cancelbtn,.deletebtn{
  float: left;
  width: 25%;
}

/* Add padding to container elements */
.container {
  padding: 16px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-image: url("image/bg.jpeg");
  background-position: center;
  background-color: transparent;
   /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 50px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* Style the horizontal ruler */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}
 
/* The Close Button (x) */
.close {
  position: absolute;
  right: 35px;
  top: 15px;
  font-size: 40px;
  font-weight: bold;
  color: #f1f1f1;
}

.close:hover,
.close:focus {
  color: #f44336;
  cursor: pointer;
}

/* Clear floats */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.searchbtn {
  padding: 14px 20px;
  text-align:center;
  background-color: DodgerBlue;

}
/* Darker background on mouse-over */
.searchbtn:hover {
  background-color: RoyalBlue;
}
.deletebtn {
  padding: 14px 20px;
  text-align:center;
  background-color: black;
  color:white;
}
/* Darker background on mouse-over */
.deletebtn:hover {
  background-color: red;
  color:black;
}
.signupbtn:hover {
  background-color: green;
  color:black;
}

/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 300px) {
  .cancelbtn, .signupbtn .searchbtn.deletebtn{
     width: 100%;
  }
}